package com.xtpt.disaster.bean;

import org.springframework.stereotype.Component;

@Component
public class DbnodeInfo {
    private Long dbId;

    private String dbNodeName;

    private String nodeIp;

    private String nodeAccount;

    private String nodePassword;

    private Integer nodeDbType;

    private Integer nodeOsType;

    private String nodeDbUsername;

    private String nodeDbPassword;

    private Integer nodeDbPort;

    private String nodeDbName;

    private Long nodeId;

    private String nodeDbBinPath;

    private String nodeDbDatabasePath;

    private String nodeDbOwner;

    private String nodeDbServiceName;

    private String nodeDbBackupPath;

    private String nodeDbIniPath;

    /**
     * 代理客户端接口地址
     */
    private String nodeClientAgentUrl;


    public Long getDbId() {
        return dbId;
    }

    public void setDbId(Long dbId) {
        this.dbId = dbId;
    }

    public String getDbNodeName() {
        return dbNodeName;
    }

    public void setDbNodeName(String dbNodeName) {
        this.dbNodeName = dbNodeName == null ? null : dbNodeName.trim();
    }

    public String getNodeIp() {
        return nodeIp;
    }

    public void setNodeIp(String nodeIp) {
        this.nodeIp = nodeIp == null ? null : nodeIp.trim();
    }

    public String getNodeAccount() {
        return nodeAccount;
    }

    public void setNodeAccount(String nodeAccount) {
        this.nodeAccount = nodeAccount == null ? null : nodeAccount.trim();
    }

    public String getNodePassword() {
        return nodePassword;
    }

    public void setNodePassword(String nodePassword) {
        this.nodePassword = nodePassword == null ? null : nodePassword.trim();
    }

    public Integer getNodeDbType() {
        return nodeDbType;
    }

    public void setNodeDbType(Integer nodeDbType) {
        this.nodeDbType = nodeDbType;
    }

    public Integer getNodeOsType() {
        return nodeOsType;
    }

    public void setNodeOsType(Integer nodeOsType) {
        this.nodeOsType = nodeOsType;
    }

    public String getNodeDbUsername() {
        return nodeDbUsername;
    }

    public void setNodeDbUsername(String nodeDbUsername) {
        this.nodeDbUsername = nodeDbUsername == null ? null : nodeDbUsername.trim();
    }

    public String getNodeDbPassword() {
        return nodeDbPassword;
    }

    public void setNodeDbPassword(String nodeDbPassword) {
        this.nodeDbPassword = nodeDbPassword == null ? null : nodeDbPassword.trim();
    }

    public Integer getNodeDbPort() {
        return nodeDbPort;
    }

    public void setNodeDbPort(Integer nodeDbPort) {
        this.nodeDbPort = nodeDbPort;
    }

    public String getNodeDbName() {
        return nodeDbName;
    }

    public void setNodeDbName(String nodeDbName) {
        this.nodeDbName = nodeDbName == null ? null : nodeDbName.trim();
    }

    public Long getNodeId() {
        return nodeId;
    }

    public void setNodeId(Long nodeId) {
        this.nodeId = nodeId;
    }

    public String getNodeDbBinPath() {
        return nodeDbBinPath;
    }

    public void setNodeDbBinPath(String nodeDbBinPath) {
        this.nodeDbBinPath = nodeDbBinPath;
    }

    public String getNodeDbDatabasePath() {
        return nodeDbDatabasePath;
    }

    public void setNodeDbDatabasePath(String nodeDbDatabasePath) {
        this.nodeDbDatabasePath = nodeDbDatabasePath;
    }

    public String getNodeDbOwner() {
        return nodeDbOwner;
    }

    public void setNodeDbOwner(String nodeDbOwner) {
        this.nodeDbOwner = nodeDbOwner;
    }

    public String getNodeDbServiceName() {
        return nodeDbServiceName;
    }

    public void setNodeDbServiceName(String nodeDbServiceName) {
        this.nodeDbServiceName = nodeDbServiceName;
    }

    public String getNodeDbBackupPath() {
        return nodeDbBackupPath;
    }

    public void setNodeDbBackupPath(String nodeDbBackupPath) {
        this.nodeDbBackupPath = nodeDbBackupPath;
    }

    public String getNodeDbIniPath() {
        return nodeDbIniPath;
    }

    public void setNodeDbIniPath(String nodeDbIniPath) {
        this.nodeDbIniPath = nodeDbIniPath;
    }

    public String getNodeClientAgentUrl() {
        return nodeClientAgentUrl;
    }

    public void setNodeClientAgentUrl(String nodeClientAgentUrl) {
        this.nodeClientAgentUrl = nodeClientAgentUrl;
    }
}